Kreslení Posun |
Umístění Menu |
---|
Draft -> Move |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
M V |
Představen ve verzi |
- |
Viz také |
Nikdo |
Nástroj Posun posunuje nebo kopíruje vybrané objekty z jednoho bodu do druhého v aktuální pracovní rovině. Není-li vybrán žádný objekt, budete vyzváni k výběru objektu.
The command can be used on 2D objects created with the Draft Workbench or Sketcher Workbench, but also on many 3D objects such as those created with the Part Workbench, PartDesign Workbench or BIM Workbench.
Moving an object from one point to another
See also: Draft Snap and Draft Constrain.
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 1.0).
See also: Preferences Editor and Draft Preferences.
Nástroj Posun může být využit v makrech a z konzoly Pythonu použitím následující funkce:
moved_list = move(objectslist, vector, copy=False)
Příklad:
import FreeCAD as App
import Draft
doc = App.newDocument()
polygon1 = Draft.make_polygon(5, radius=1000)
polygon2 = Draft.make_polygon(3, radius=500)
polygon3 = Draft.make_polygon(6, radius=220)
Draft.move(polygon1, App.Vector(500, 500, 0))
Draft.move(polygon1, App.Vector(500, 500, 0))
Draft.move(polygon2, App.Vector(1000, -1000, 0))
Draft.move(polygon3, App.Vector(-500, -500, 0))
list1 = [polygon1, polygon2, polygon3]
vector = App.Vector(-2000, -2000, 0)
list2 = Draft.move(list1, vector, copy=True)
list3 = Draft.move(list1, -2*vector, copy=True)
doc.recompute()